<template>
  <el-carousel trigger="click" height="630px">
    <el-carousel-item v-for="item in 4" :key="item">
      <h3 class="small">{{ item }}</h3>
    </el-carousel-item>
  </el-carousel>
</template>

<script>
export default {

}
</script>

<style scoped>
  .el-carousel__item h3 {
    /* color: #475669;
    font-size: 14px;
    opacity: 0.75;
    line-height: 150px;
    margin: 0; */
    display: none;
  }

  /* .el-carousel__item:nth-child(2n) {
    background-color: #99a9bf;
  }
  
  .el-carousel__item:nth-child(2n+1) {
    background-color: #d3dce6;
  } */

  .el-carousel__item:first-of-type {
    background-image: url('~@/images/banner/banner1.jpg');
  }

  .el-carousel__item:nth-of-type(2) {
    background-image: url('~@/images/banner/banner2.jpg');
  }

  .el-carousel__item:nth-of-type(3) {
    background-image: url('~@/images/banner/banner3.jpg');
  }

  .el-carousel__item:nth-of-type(4) {
    background-image: url('~@/images/banner/banner4.jpg');
  }
</style>